package com.openbravo.pos.scale;

import com.openbravo.beans.JNumberDialog;
import com.openbravo.pos.forms.AppLocal;
import java.awt.Component;
import javax.swing.ImageIcon;

public class ScaleDialog
  implements Scale
{
  private Component parent;

  public ScaleDialog(Component paramComponent)
  {
    this.parent = paramComponent;
  }

  public Double readWeight()
    throws ScaleException
  {
    return JNumberDialog.showEditNumber(this.parent, AppLocal.getIntString("label.scale"), AppLocal.getIntString("label.scaleinput"), new ImageIcon(ScaleDialog.class.getResource("/com/openbravo/images/ark2.png")));
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.scale.ScaleDialog
 * JD-Core Version:    0.6.0
 */